<template>
  <div>
    <van-nav-bar title="首页" />

    <van-grid :column-num="2">
      <van-grid-item icon="hot-sale-o" text="热卖" />
      <van-grid-item icon="new-arrival-o" text="新品" />
      <van-grid-item icon="chart-trending-o" text="销售报表" />
      <van-grid-item icon="logistics" text="物流" />
    </van-grid>

    <!-- <TestForm /> -->
    <!-- 
    -->
  </div>
</template>

<script>
// import api from '@/odooapi'

// import TestForm from './testForm.vue'

// const xml = `
//  <div a=1>
//   123
//  </div>
//  `

// import xml2json from '@/odooapi/xml2json'
// const node = xml2json.toJSON(xml)

// console.log(node)

// const xml2 = xml2json.toXML(node)

// const str = new XMLSerializer().serializeToString(xml2)

// console.log(str, typeof str)

export default {
  name: 'Home',
  // components: { TestForm },
  mixins: [],

  data() {
    return {}
  },
  computed: {},

  async created() {},

  methods: {}
}
</script>

<style type="text/css"></style>
